package com.junzhiit.nengji.bo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.bainaeco.framework.base.BaseObject;
import com.bainaeco.framework.util.DateUtil;
import com.bainaeco.framework.util.serializer.CustomDateSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class MemberCardUseBO extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	// 会员卡ID
	private String memberCardId;
	// 用户ID
	private String userId;
	// 店铺ID或者多店ID
	private String csId;
	// 订单id
	private String orderId;
	//订单编号
	private String orderNumber;
	//店铺点单编号
	private String shopOrderNumber;
	// 会员卡权益类型
	private Integer privilegeType;
	// 会员卡抵扣金额
	private Double privilegeMoney;
	//会员卡名称
	private String cardName;
	//用户名称
	private String userName;
	
	@DateTimeFormat(pattern = DateUtil.DATE_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializer.class)
	private Date createdTime;
	
	private Integer status;
	
	public String getOrderNumber() {
		return orderNumber;
	}
	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}
	public String getMemberCardId() {
		return memberCardId;
	}
	public void setMemberCardId(String memberCardId) {
		this.memberCardId = memberCardId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getCsId() {
		return csId;
	}
	public void setCsId(String csId) {
		this.csId = csId;
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public Integer getPrivilegeType() {
		return privilegeType;
	}
	public void setPrivilegeType(Integer privilegeType) {
		this.privilegeType = privilegeType;
	}
	public Double getPrivilegeMoney() {
		return privilegeMoney;
	}
	public void setPrivilegeMoney(Double privilegeMoney) {
		this.privilegeMoney = privilegeMoney;
	}
	public String getCardName() {
		return cardName;
	}
	public void setCardName(String cardName) {
		this.cardName = cardName;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public Date getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getShopOrderNumber() {
		return shopOrderNumber;
	}
	public void setShopOrderNumber(String shopOrderNumber) {
		this.shopOrderNumber = shopOrderNumber;
	}
}
